/**
 * 
 */
package metalink.staff;

import java.util.ArrayList;

import model.staff.LibraryMo;
import vo.mixed.LibraryProfessorVo;

import com.opensymphony.xwork2.ActionSupport;

/**
 * @author Pooja
 * 
 */
public class GetLibraryDetails extends ActionSupport {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	ArrayList<LibraryProfessorVo> list = new ArrayList<LibraryProfessorVo>();

	public String execute() {
		LibraryMo mo = new LibraryMo();
		list = mo.getIssuedBooks();
		return SUCCESS;
	}

	public ArrayList<LibraryProfessorVo> getList() {
		return list;
	}

	public void setList(ArrayList<LibraryProfessorVo> list) {
		this.list = list;
	}
}
